import { Entity, PrimaryColumn, PrimaryGeneratedColumn, Column, OneToMany, ManyToOne, JoinColumn, CreateDateColumn } from "typeorm"

@Entity({ name: "video_project" })
export class videoProjectEntity {
    /**
     * id
     */
    @PrimaryColumn()
    id: String;
    /**
     * 名称
     */
    @Column()
    name: String;
    /**
    * 封面
    */
    @Column()
    cover: String;

    /**
    * 起点Id
    */
    @Column()
    startId: String;

    @CreateDateColumn()
    createdAt: Date;
}